<template>
  <div class="container">
    <div class="logo">
      <!-- <img src="../../assets/login/logo.png" alt="" /> -->
    </div>
    <div class="title-box">
      <div class="company">{{title}}</div>
<!--      <div class="company-zh">CHUANG NENG DIANQI Internet of things</div>-->
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: ""
    }
  },
}
</script>

<style lang="scss" scoped>
.container {
  display: flex;
  height: 80px;

  .logo {
    overflow: hidden;
    padding-top: 10px;
    img {
      width: 70px;
      height: 70px;
      overflow: hidden;
    }
  }

  .title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 30px 3px 150px;
    z-index: 10;

    .company {
      font-size: 40px;
      font-weight: 500;
      color: #ffffff;
    }

    .company-zh {
      font-size: 14px;
      font-weight: 400;
      color: #ffffff;
      letter-spacing: 0.2em;
    }
  }
}
</style>
